MATRIX TILE COUNT

This command will return the number of available tile textures prepared for the specified matrix.

  Syntax
Return Integer=MATRIX TILE COUNT(Matrix Number)
  Parameters
Matrix Number
Integer
The matrix number

  Returns

This command will return the number of available tile textures prepared for the specified matrix

  Description

The matrix number should be an integer value.

  Example Code
position camera 0,300,0
make matrix 1,1000,1000,25,25
position matrix 1,0,0,0
update matrix 1
while inkey$()<>"x"
set cursor 0,0
print "tilecount:";matrix tile count(1)
endwhile
if matrix exist(1)=1 then delete matrix 1
end
  See also

MATRIX Commands Menu
Index